package com.fhz.a2102mvi.datasource

import com.fhz.a2102mvi.api.FengServerApi
import com.fhz.a2102mvi.entity.Banner
import javax.inject.Inject

/**
 * 时间:2023/10/18
 * @author Mr.Feng
 * 简述: 远程
 */
class MainRemoteDataSource @Inject constructor (val fengServerApi: FengServerApi) {

    suspend fun getBannerList() :Banner {
        return fengServerApi.getBannerList(0,1,5)
    }
}